import Vue from "vue";
import VueRouter from "vue-router";

import home from "../pages/Home";
import login from "../pages/Login";
import student from "../pages/Home/student";
import allRoutes from '@/router/allRoutes';

Vue.use(VueRouter);

const routes = [
    // {
    //     path: "/",
    //     redirect: "login"
    // },
    {
        path: "/login",
        name: "login",
        component: login
    }
];

const router = new VueRouter({
    routes
});

export default router;


